js 獲取字典長度 //1.字典數據 let data: { [key: number]: any }; //2.獲取字典的長度 let length= Object.keys(data).length ...